.similar-card-title,
.similar-card-title:hover,
.similar-card-title:focus,
.similar-card-title:active {
    transform: none !important;
    animation: none !important;
    transition: none !important;
    position: static !important;
}
/* Carousel similar films card styles */
/* Style harmonisé pour .similar-card comme sur la page films */
.similar-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 8px 8px 8px;
    min-height: 220px;
    cursor: pointer;
    transition: none;
    box-sizing: border-box;
    margin-bottom: 16px;
    width: 100%;
}
@media (max-width: 768px) {
    .similar-card {
        min-width: 160px;
        max-width: 100%;
    }
}
@media (max-width: 480px) {
    .similar-card {
        min-width: 120px;
        max-width: 100%;
    }
}
.similar-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}
/* Remove background and shadow from film name in carousel */
/* No background or shadow for film name in carousel */
.similar-card-title {
    font-family: 'Futura', 'Arial', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #181818;
    text-align: center;
    margin-top: 4px;
    margin-bottom: 0;
    min-height: 2.6em;
    max-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    background: transparent !important;
    box-shadow: none !important;
}

.similar-card-title:hover,
.similar-card-title:focus,
.similar-card-title:active {
    color: #181818 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: default !important;
    filter: none !important;
    outline: none !important;
    text-decoration: none !important;
}
/* Pseudo et date sur la même ligne dans les commentaires */
.comment-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}
.comment-menu-btn {
    color: #700118 !important;
    background: transparent !important;
    border-radius: 50%;
    border: none;
    font-size: 1.3rem;
    box-shadow: none;
    z-index: 21;
    display: flex;
    align-items: center;
    justify-content: center;
}
.comment-menu-btn i {
    color: #700118 !important;
}
.comment-menu-dropdown button {
    color: #111 !important;
}
.comment-card {
    position: relative;
}
.comment-menu {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 20;
    display: block !important;
}
.comment-menu-btn {
    color: #d32f2f !important;
    background: transparent !important;
    border-radius: 50%;
    border: none;
    font-size: 1.3rem;
    box-shadow: none;
    z-index: 21;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Pouce like commentaire : noir par défaut, rouge si liké */
.comment-like-btn .svg-thumb-up {
    color: #1A1A1A !important;
    fill: #1A1A1A !important;
    transition: color 0.2s, fill 0.2s;
}
.comment-like-btn.liked .svg-thumb-up {
    color: #700118 !important;
    fill: #700118 !important;
}
.comment-card:hover {
    transform: none !important;
    box-shadow: none !important;
}
.movie-section-label {
    text-transform: uppercase !important;
}
/* TITRE FICHE FILM : 48px Futura Demi (Adobe Futura 100) */
.movie-header h1,
.movie-header h1.fw-bold {
    font-size: 48px !important;
    font-family: 'futura-pt', 'Futura Demi', 'Futura PT Demi', 'Futura Std Demi', 'Futura', Arial, sans-serif !important;
    font-weight: 600 !important;
    color: #F4EFEC !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    margin-bottom: 0.5rem !important;
    background: none !important;
    border: none !important;
}
/* Style du titre "À la une" */
.featured-a-la-une-text {
    font-size: 36px !important;
    font-family: 'Futura', 'Futura Std', 'FuturaPT', Arial, sans-serif !important;
    font-weight: 600 !important; /* 100 demibold n'existe pas, 600 = demi-bold */
    color: #F4EFEC !important;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}
/* Avatar wrapper for comments: always round and not stretched */
.comment-user-avatar-wrapper {
    display: inline-block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: #F4EFEC;
    vertical-align: middle;
    margin-right: 8px;
}
.comment-user-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
/* SVG heart under series poster: white outline, no fill by default, filled red when liked */
#movieLikeBtn .svg-heart-main {
    display: block;
    margin: 0 auto;
    width: 38px;
    height: 38px;
}
#movieLikeBtn .svg-heart-shape {
    stroke: #888888;
    stroke-width: 2.2;
    fill: none;
    transition: fill 0.2s, stroke 0.2s;
}
.movie-like-btn.liked .svg-heart-shape, #movieLikeBtn.liked .svg-heart-shape {
    stroke: #700118;
    fill: #700118;
}
/* Only show fallback SVG if Bootstrap icon font is not loaded */
#movieLikeBtn .svg-heart-fallback {
    display: none;
}
#movieLikeBtn:not(:has(.bi-heart)),
#movieLikeBtn:not(:has(.bi-heart-fill)) {
    .svg-heart-fallback {
        display: block;
    }
}
/* Always black by default, red when liked */
#movieLikeBtn .svg-heart-fallback {
    color: #1A1A1A;
}
#movieLikeBtn.liked .svg-heart-fallback {
    color: #700118;
}
/* Fallback SVG heart for like button under movie poster */
#movieLikeBtn .svg-heart-fallback {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2.2rem;
    height: 2.2rem;
    color: #1A1A1A;
    display: block;
    pointer-events: none;
    z-index: 0;
    transition: color 0.2s;
}
#movieLikeBtn.liked .svg-heart-fallback {
    color: #700118;
}
#movieLikeBtn .bi-heart, #movieLikeBtn .bi-heart-fill {
    position: relative;
    z-index: 2;
}
/* Hide fallback SVG if Bootstrap icon is visible */
#movieLikeBtn .bi-heart, #movieLikeBtn .bi-heart-fill {
    display: inline-block;
}
#movieLikeBtn .bi-heart:before, #movieLikeBtn .bi-heart-fill:before {
    content: '';
}
/* Heart under movie poster: black by default, red when liked */
/* Heart under movie poster: always visible, black by default, red when liked */
#movieLikeBtn i.bi-heart,
#movieLikeBtn i.bi-heart-fill {
    color: #1A1A1A !important;
    font-size: 2.2rem !important;
    display: inline-block !important;
    transition: color 0.2s;
    background: none !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}
#movieLikeBtn.liked i.bi-heart,
#movieLikeBtn.liked i.bi-heart-fill {
    color: #700118 !important;
}
.movie-like-btn.liked .bi-heart {
    color: #700118 !important;
    fill: #700118 !important;
}
/* Bouton Afficher plus en noir */
#commentsMoreBtn, #tracksMoreBtn {
    background: #1A1A1A !important;
    color: #F4EFEC !important;
    border: none !important;
    font-size: 14px !important;
    font-family: 'futura-pt', 'Futura Demi', 'Futura PT Demi', 'Futura Std Demi', 'Futura', Arial, sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.1px;
    box-shadow: none !important;
    backdrop-filter: none !important;
    filter: none !important;
}
#commentsMoreBtn:hover, #tracksMoreBtn:hover {
    background: #700118 !important;
    color: #F4EFEC !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    filter: none !important;
}

/* Coeur de like film/piste rouge quand liké */
.movie-like-btn.liked .bi-heart,
.track-like.liked {
    color: #700118 !important;
    fill: #700118 !important;
}
.movie-page .comment-text {
    color: #1A1A1A !important;
}
/* Pouce noir par défaut */
.movie-page .comment-like-btn svg, .movie-page .movie-comment-like-btn svg {
    width: 22px;
    height: 22px;
    display: block;
        fill: #1A1A1A !important;
        stroke: none !important;
        stroke-width: 0 !important;
        transition: fill 0.2s;
    }
}
/* Pouce rouge quand liké */
.movie-page .comment-like-btn.liked svg, .movie-page .movie-comment-like-btn.liked svg {
    fill: #700118;
    stroke: #700118;
}
/* Hover : pouce rouge si non liké, reste rouge si liké */
.movie-page .comment-like-btn:hover svg:not(.liked), .movie-page .movie-comment-like-btn:hover svg:not(.liked) {
    stroke: #700118;
}
/* Commentaires en noir pour lisibilité */
.movie-page .comment-list, .movie-page .comment-list *,
.movie-page .comment-content, .movie-page .comment-content * {
    color: #1A1A1A !important;
}

/* Style du bouton like : pouce en bas à droite du commentaire */
.movie-page .comment-like-btn, .movie-page .movie-comment-like-btn {
    position: absolute;
    right: 16px;
    bottom: 12px;
        position: static;
        background: none;
        color: #1A1A1A;
        border: none;
        border-radius: 0;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: none;
        font-size: 1.3rem;
        transition: color 0.2s, transform 0.18s;
        z-index: 2;
        cursor: pointer;
        padding: 0;
}
.movie-page .comment-like-btn svg, .movie-page .movie-comment-like-btn svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: none;
    stroke: #888;
    stroke-width: 2.2;
    transition: fill 0.2s, stroke 0.2s;
}
.movie-page .comment-like-btn.liked svg, .movie-page .movie-comment-like-btn.liked svg {
    fill: #700118;
    stroke: #700118;
}
.movie-page .comment-like-btn:hover svg, .movie-page .movie-comment-like-btn:hover svg {
    stroke: #700118;
}
.movie-like-btn.liked .bi-heart-fill {
    color: #700118 !important;
    fill: #700118 !important;
}
.movie-page .comment-like-btn:hover svg, .movie-page .movie-comment-like-btn:hover svg {
    stroke: #1ec773;
}
.movie-page .comment-item, .movie-page .comment {
    position: relative;
}
.movie-page .movie-meta-label,
.movie-page h5 {
    color: #700118 !important;
    font-weight: bold !important;
}
.movie-page .section-title,
.movie-page h3.section-title {
    font-weight: bold !important;
}
/* Force tout le texte en blanc du site sur la fiche film sauf sous-titres */
.movie-page, .movie-page * {
    color: #F4EFEC !important;
}
.movie-header h5,
.movie-meta-label,
.movie-section-title,
.movie-section-label,
.movie-section h5,
.movie-section .label,
.movie-section .subtitle,
.movie-section .section-label {
    color: #700118 !important;
    font-size: 18px !important;
    font-family: 'futura-pt', 'Futura Demi', 'Futura PT Demi', 'Futura Std Demi', 'Futura', Arial, sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
}
/* Force tout le texte en blanc du site sur la fiche film */
.movie-page, .movie-page * {
    color: #F4EFEC !important;
}
/* Espace toutes les sections des fiches film */
body .movie-page > section {
    margin-top: 64px !important;
    margin-bottom: 64px !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}
body .movie-page > section:first-child {
    margin-top: 0 !important;
}
body .movie-page > section:last-child {
    margin-bottom: 0 !important;
}
.carousel-arrow {
    color: #F4EFEC !important;
}
.carousel-arrow:hover {
    color: #700118 !important;
}
.carousel-arrow {
    font-size: 48px !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
/* Force large carousel arrows for fiche film */
.carousel-arrow {
    font-size: 80px !important;
}
:root {
    --main-primary: #700118;
    --main-white: #F4EFEC;
    --main-bg: #1A1A1A;
    --main-panel: #1a1a1a;
    --main-border: #F4EFEC;
    --main-muted: #c7c8cc;
    --main-shadow: 0 0 18px 4px rgba(244, 239, 236, 0.45);
    --main-gray: #5A5A5A;
    --main-dark-hover: #1E1E1E;
}
.text-main { color: #700118 !important; }
.text-dark { color: #1A1A1A !important; }
.text-light { color: #F4EFEC !important; }
.bg-dark { background: #1A1A1A !important; }
.bg-white { background: #F4EFEC !important; }
.border-main { border-color: #700118 !important; }
.border-light { border-color: #F4EFEC !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
/* Factorisation couleur de fond principale */
.bg-main {
    background: #F4EFEC !important;
}
/* Factorisation couleur texte commentaire */
.comment-input,
.comment-input:focus {
    color: rgba(244, 239, 236, 1) !important;
}
/* Factorisation: alignement vertical pour toutes les cellules de table de pistes */
.movie-tracks-table td,
.movie-tracks-table td.col-duration {
    vertical-align: middle !important;
}
/* ==================================================
   Fiche Film Styles
   Styles spécifiques pour la page de détail d'un film
   ================================================== */

/* Page Container */
.movie-page {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 60px;
}

/* ===== ENTÊTE FILM ===== */
.movie-sub {
    margin-left: 2px;
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 2px !important; /* colle davantage le sous-titre à l'affiche */
        color: #B0B0B0 !important;
        font-size: 12px !important;
        font-family: 'Futura', 'Futura PT', 'Futura Std', Arial, sans-serif !important;
        font-weight: 400 !important;
        margin-top: 2px;
        text-decoration: none !important;
        cursor: pointer;
        transition: color 0.2s ease;
    }
    
    /* Lien vers compositeur */
    a.movie-track-artist {
        color: #B0B0B0 !important;
        font-size: 12px !important;
        font-family: 'Futura', 'Futura PT', 'Futura Std', Arial, sans-serif !important;
        font-weight: 400 !important;
        margin-top: 2px;
        text-decoration: underline !important;
        cursor: pointer;
    }

    a.movie-track-artist:hover {
        color: rgba(112, 1, 24, 1);
    }
.movie-header .row {
    align-items: flex-start;
    gap: 8px;
}

@media (min-width: 992px) {
    .movie-header .row {
        flex-wrap: nowrap;
    }
    .movie-header .col-md-4 { flex: 0 0 28%; max-width: 28%; }
    .movie-header .col-md-8 { flex: 1 0 0; }
    .movie-header .col-lg-3 { flex: 0 0 26%; max-width: 26%; }
    .movie-header .col-lg-9 { flex: 1 0 0; }
}

.movie-header h1 {
    font-size: 2.5rem;
    color: rgba(244, 239, 236, 1);
    margin-top: 10px; /* place le titre plus bas */
    margin-bottom: 4px;
    animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.movie-poster-wrapper {
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .movie-poster-wrapper.text-md-start {
        align-items: flex-start;
    }
}

.movie-poster-wrapper {
    position: relative;
    animation: scaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.movie-poster {
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.movie-poster:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 50px rgba(112, 1, 24, 0.3);
}


.movie-like-btn {
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0;
    margin: 0;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    position: static;
    margin-top: 12px;
    align-self: center;
    z-index: 5;
    width: 48px;
    height: 48px;
}

.movie-like-btn:hover {
    color: rgba(112, 1, 24, 1);
    transform: scale(1.08);
}

.movie-like-btn.liked {
    color: #700118;
    background: transparent;
    border: none;
    box-shadow: none;
}
.movie-like-btn:focus-visible {
    outline: 2px solid rgba(112, 1, 24, 1);
    outline-offset: 4px;
}

.movie-like-btn i {
    font-size: 1.5rem;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.movie-like-btn.liked i {
    color: #700118;
}
}

@media (max-width: 767px) {
    .movie-page {
        padding: 20px 15px 40px;
    }

    .movie-header h1 {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .movie-meta {
        grid-template-columns: 1fr;
        gap: 10px;
        font-size: 0.9rem;
    }

    .movie-synopsis {
        font-size: 0.9rem;
        line-height: 1.5;
        max-width: 100%;
    }

    .movie-tracks-section {
        padding: 0 5px;
    }

    .movie-tracks-table {
        font-size: 0.85rem;
    }

    .movie-tracks-table thead {
        font-size: 1.2rem;
    }

    .movie-track-number {
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    .movie-track-cover {
        width: 50px;
        height: 50px;
    }

    .movie-track-title {
        font-size: 0.9rem;
    }

    .movie-track-artist {
        font-size: 0.8rem;
    }

    .movie-track-duration {
        font-size: 0.85rem;
    }

    .movie-like-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .cta-section {
        padding: 30px 15px;
        margin-top: 40px;
    }

    .cta-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .cta-btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .movie-page {
        padding: 15px 10px 30px;
    }

    .movie-header h1 {
        font-size: 1.6rem !important;
    }

    .movie-synopsis {
        font-size: 0.85rem;
    }

    .movie-tracks-table {
        font-size: 0.8rem;
    }

    .movie-tracks-table thead {
        font-size: 1rem;
    }

    .movie-track-number {
        padding: 8px 6px;
    }

    .movie-track-cover {
        width: 44px;
        height: 44px;
    }

    .movie-track-title {
        font-size: 0.85rem;
    }

    .movie-track-artist {
        font-size: 0.75rem;
    }

    .movie-like-btn {
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
        right: 15px;
        bottom: 15px;
    }
}

/* synopsis plus étroit comme sur la maquette */
.movie-synopsis {
    max-width: 600px;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #ddd;
    animation: slideUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-header h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(112, 1, 24, 1);
}

/* META */
.movie-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px 16px;
    margin-top: 8px;
}

.movie-meta-label {
    font-weight: 700;
    color: rgba(112, 1, 24, 1);
    text-transform: uppercase;
     /* Removed .carousel-arrow styles */
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

    color: rgba(244, 239, 236, 1);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 12px;
    animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* ===== TABLE PISTES ===== */
.movie-tracks-table {
    --bs-table-bg: transparent;
    --bs-table-color: rgba(244, 239, 236, 1);
    --bs-table-hover-bg: rgba(112, 1, 24, 0.08);
    border-collapse: collapse;
    margin-bottom: 0;
    font-size: 0.9rem;
    background: transparent;
    width: 100%;
    table-layout: auto;
}

.movie-tracks-table thead {
    border-bottom: 1px solid rgba(244, 239, 236, 0.5);
    font-size: 1.5rem; /* 24px */
    color: rgba(112, 1, 24, 1);
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.movie-tracks-table th {
    border: none;
    font-weight: 700;
    background: transparent;
    padding: 14px 10px;
    font-size: 1rem;
}

.movie-tracks-table tbody tr {
    border-bottom: 1px solid rgba(244, 239, 236, 0.2);
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.movie-tracks-table tbody tr:hover {
    background: rgba(26, 26, 26, 0.42) !important; /* gris foncé, opacité très forte, forcée */
    transform: translateX(4px);
}

.movie-tracks-table td {
    border: none;
    background: transparent;
    padding: 12px 10px;
    height: 74px;
    position: relative;
}

.movie-tracks-table td.col-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removed .carousel-arrow styles */
    /* Removed hover and active states */
}

.col-links {
    width: 210px;
    text-align: left;
}

.col-duration {
    width: 90px;
    text-align: center;
    white-space: nowrap;
}

.col-like {
    width: 50px;
    text-align: right;
}

.col-title {
    /* remaining space; left aligned */
    text-align: left;
    padding-right: 8px;
}

/* align header cells consistently */
.movie-tracks-table thead .col-links { text-align: left; padding-left: 6px; }
.movie-tracks-table thead .col-duration { text-align: center; }
.movie-tracks-table thead .col-like { text-align: right; }

/* Align duration cells consistently in body */
.movie-tracks-table td.col-duration {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    vertical-align: middle !important;
}

.movie-track-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Correction : aligner toutes les cellules sur la même ligne */
.movie-tracks-table td {
    vertical-align: middle !important;
}

.movie-track-cover {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    border: 2px solid rgba(112, 1, 24, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.movie-tracks-table tbody tr:hover .movie-track-cover {
    border-color: rgba(112, 1, 24, 1);
    transform: scale(1.1);
}

.movie-track-title {
    font-size: 1rem; /* 16px */
    font-weight: 600;
    color: rgba(244, 239, 236, 1);
}


.movie-track-artist {
    font-size: 0.75rem; /* 12px */
    color: #999 !important;
    text-decoration: underline;
    cursor: pointer;
    display: block;
    margin-top: 2px;
    font-family: 'Futura', 'Futura PT', 'Futura Std', Arial, sans-serif !important;
    font-weight: 400 !important;
    transition: color 0.2s ease;
}

.movie-track-artist:hover {
    color: rgba(112, 1, 24, 1);
}

/* Lien vers compositeur */
a.movie-track-artist {
    color: #999;
    text-decoration: underline;
    font-size: 0.75rem;
}

a.movie-track-artist:hover {
    color: rgba(112, 1, 24, 1);
    text-decoration: underline;
}

/* icônes cerclées comme sur la maquette */
.track-icons i {
    border: 2px solid rgba(244, 239, 236, 1);
    border-radius: 50%;
    padding: 6px;
    font-size: 1rem;
    margin-right: 6px;
    color: rgba(244, 239, 236, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.track-icons i:hover {
    border-color: rgba(112, 1, 24, 1);
    background: rgba(112, 1, 24, 1);
    color: rgba(244, 239, 236, 1);
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(112, 1, 24, 0.4);
}

/* container des icônes de liens: centre horizontalement */
.track-icons {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
}

.track-like {
    color: rgba(244, 239, 236, 1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
}

.track-like:hover {
    color: rgba(112, 1, 24, 1);
    transform: scale(1.15);
}

.track-like.liked {
    color: rgba(112, 1, 24, 1);
    transform: scale(1.15);
}

/* bouton "Afficher plus" */
.movie-btn-light {
    border-radius: 4px;
    border: 2px solid rgba(244, 239, 236, 1);
    background: rgba(244, 239, 236, 1);
    color: #000000;
    padding: 10px 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.movie-btn-light:hover {
    background: rgba(112, 1, 24, 1);
    color: rgba(244, 239, 236, 1);
    border-color: rgba(112, 1, 24, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(112, 1, 24, 0.3);
}

.movie-btn-light:active {
    transform: translateY(0);
}

/* ===== COMMENTAIRES ===== */
.comment-input-row {
    border-bottom: 2px solid rgba(244, 239, 236, 0.3);
    align-items: flex-start;
    padding-bottom: 20px;
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.comment-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border: 2px solid rgba(244, 239, 236, 1);
    font-size: 1.2rem;
    flex-shrink: 0;
    background: rgba(112, 1, 24, 0.1);
    color: rgba(112, 1, 24, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comment-input {
    background: #0d0d0f;
    border-radius: 25px;
    border: 2px solid #2a2a2a;
    font-size: 0.9rem;
    padding: 12px 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comment-input:focus {
    border-color: rgba(112, 1, 24, 1);
    box-shadow: 0 0 20px rgba(112, 1, 24, 0.2);
    background: #1a1a1a;
}

.comment-input::placeholder {
    color: #666;
}

/* cartes commentaires */
.comment-card {
    background: rgba(244, 239, 236, 1);
    border-radius: 8px;
    border: 2px solid rgba(112, 1, 24, 0.8);
    padding: 14px 16px;
    height: auto;
    min-height: 110px;
    font-size: 0.85rem;
    color: #0d0d0f;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    position: relative;
}



.comment-card .comment-user {
    font-weight: 700;
    margin-bottom: 8px;
    color: rgba(112, 1, 24, 1);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    margin-bottom: 8px;
}

.comment-user-avatar-wrapper {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: rgba(112, 1, 24, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-right: 8px;
}

.movie-page .comment-user-name, .movie-page .comment-date {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0;
}

.movie-page .comment-date {
    margin-left: 6px;
    margin-bottom: 0;
}

.comment-like-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 8px !important;
    justify-content: flex-start !important;
}
}

.comment-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(112, 1, 24, 0.3);
    display: block;
}

.comment-user-icon {
    font-size: 2rem;
    color: rgba(112, 1, 24, 0.6);
}


.movie-page .comment-user-name {
    color: #1A1A1A !important;
    font-weight: 600;
    text-align: left;
}

.movie-page .comment-date {
    color: #1A1A1A !important;
    font-size: 0.95em;
    margin-left: 8px;
    font-weight: 400;
}

.comment-date {
    font-size: 0.75rem;
    color: rgba(112, 1, 24, 0.6);
    text-align: left;
    margin-bottom: 8px;
}

.comment-card .comment-user i:not(.comment-user-icon) {
    margin-right: 6px;
}

.comment-menu {
    position: absolute;
    top: 8px;
    right: 8px;
}

.comment-menu-btn {
    background: transparent;
    border: none;
    color: rgba(112, 1, 24, 1);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.comment-menu-btn:hover {
    background: rgba(112, 1, 24, 0.1);
}

.comment-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #F4EFEC;
    border: 2px solid rgba(112, 1, 24, 0.3);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 120px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 10;
}

.comment-menu-dropdown.show {
    display: flex;
}

.comment-menu-dropdown button {
    background: #F4EFEC;
    border: none;
    padding: 10px 16px;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    color: #0d0d0f;
    transition: background 0.2s;
}

.comment-menu-dropdown button:hover {
    background: rgba(112, 1, 24, 0.1);
}

.comment-menu-dropdown .comment-delete-btn {
    color: #d32f2f;
}

.comment-edit-input {
    width: 100%;
    background: rgba(112, 1, 24, 0.05);
    border: 1px solid rgba(112, 1, 24, 0.3);
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.85rem;
    color: #0d0d0f;
}

.comment-edit-input:focus {
    outline: none;
    border-color: rgba(112, 1, 24, 1);
}

/* ===== FILMS SIMILAIRES ===== */


#similarMovies {
    transition: opacity 0.2s ease;
}

#similarMovies.is-transitioning {
    opacity: 0.35;
    pointer-events: none;
}

.similar-card {
    background: rgba(244, 239, 236, 1);
    border-radius: 8px;
    padding: 10px 10px 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.similar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(112, 1, 24, 0.25);
}

.similar-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover; /* remplit la carte sans bandes noires */
    object-position: 50% 18%; /* garde le haut visible (titre) tout en rognant léger bas */
    background: #0c0c0c;
    border-radius: 6px;
    border: 3px solid rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.similar-card:hover img {
    transform: scale(1.05);
}

.similar-card-title {
    font-size: 16px !important;
    color: #1A1A1A !important;
    font-family: 'futura-pt', 'Futura Demi', 'Futura PT Demi', 'Futura Std Demi', 'Futura', Arial, sans-serif !important;
    font-weight: 600 !important;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}

/* Désactive tout effet hover sur .similar-card-title partout sauf front-page */
}

/* ===== NEWSLETTER / CALL TO ACTION ===== */
.newsletter-section {
    background: rgba(26, 26, 26, 1);
    padding: 60px 0;
    margin-top: 80px;
}

.newsletter-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 40px;
    gap: 40px;
}

.newsletter-content {
    flex: 1;
    max-width: 600px;
}

.newsletter-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.newsletter-line-left {
    width: 2px;
    height: 120px;
    background: rgba(244, 239, 236, 1);
    flex-shrink: 0;
        stroke: #1A1A1A;
        stroke-width: 2.2;
        transition: fill 0.2s, stroke 0.2s;
        transform: rotate(0deg);
    font-size: 1.3rem;
    color: rgba(244, 239, 236, 1);
    line-height: 1.5;
    margin: 0;
    font-weight: 600;
}

.newsletter-line-right {
    width: 2px;
    height: 120px;
    background: rgba(244, 239, 236, 1);
    flex-shrink: 0;
    margin-top: 5px;
}

.newsletter-footer-line {
    width: 100%;
    height: 1px;
    background: rgba(244, 239, 236, 1);
    margin-bottom: 25px;
}

.newsletter-btn {
    background: rgba(244, 239, 236, 1);
    border: 2px solid rgba(244, 239, 236, 1);
    color: rgba(26, 26, 26, 1);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.newsletter-btn:hover {
    background: rgba(112, 1, 24, 1);
    border-color: rgba(112, 1, 24, 1);
    color: rgba(244, 239, 236, 1);
}





/* ===== SEPARATOR SECTION ===== */
.separator-section {
    position: relative;
    text-align: center;
}

.separator-line {
    height: 2px;
    background: rgba(244, 239, 236, 0.3);
    width: 100%;
}

.separator-text {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(244, 239, 236, 1);
    letter-spacing: 3px;
    margin-top: 12px;
    text-transform: uppercase;
}

/* ===== CTA SECTION ===== */
.cta-section {
    margin-top: 60px;
    padding: 40px 0;
}

.cta-text {
    max-width: 600px;
}

.cta-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #F4EFEC;
}



.cta-btn {
    display: inline-block;
    border: none;
    border-radius: 999px;
    padding: 12px 32px;
    background: #F4EFEC;
    color: #1A1A1A;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
}

.cta-btn:hover {
    background: #700118;
    color: #F4EFEC;
    transform: translateY(-2px);
}
/* ==================================================
   SERIES SELECTS (Saison / Épisode)
   ================================================== */
.series-selects {
    width: 100%;
}

.series-selects .form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: rgba(112, 1, 24, 1);
}

.series-selects .form-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #1A1A1A;
    color: #F4EFEC;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.series-selects .form-select:hover {
    border-color: rgba(112, 1, 24, 0.8);
}

.series-selects .form-select:focus {
    outline: none;
    border-color: rgba(112, 1, 24, 1);
    box-shadow: 0 0 0 3px rgba(112, 1, 24, 0.2);
}

.series-selects .form-select option {
    background-color: #1A1A1A;
    color: #F4EFEC;
}

/* Comment input row alignment fix */
.comment-input-row {
    align-items: flex-start !important;
}

@media (max-width: 600px) {
    .movie-header {
        padding: 0 8px;
        margin-bottom: 18px !important;
    }
    .movie-header h1 {
        font-size: 1.35rem !important;
        margin-top: 0 !important;
        margin-bottom: 8px !important;
        text-align: left !important;
        line-height: 1.15 !important;
    }
    .movie-sub {
        font-size: 0.85rem !important;
        margin-bottom: 10px !important;
        color: #B0B0B0 !important;
        text-align: left !important;
    }
    .movie-poster-wrapper {
        max-width: 160px !important;
        margin: 0 auto 12px auto !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .movie-poster {
        width: 100% !important;
        max-width: 160px !important;
        height: auto !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 18px rgba(0,0,0,0.25) !important;
    }
    .movie-like-btn {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.1rem !important;
        margin-top: 8px !important;
        align-self: center !important;
    }
    .movie-section-label,
    .movie-meta-label {
        font-size: 1rem !important;
        color: #700118 !important;
        margin-bottom: 4px !important;
        text-align: left !important;
    }
    .movie-synopsis {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
        color: #F4EFEC !important;
        max-width: 100% !important;
        text-align: left !important;
        -webkit-line-clamp: 5;
        line-clamp: 5;
    }
    .movie-meta {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        font-size: 0.85rem !important;
        margin-bottom: 10px !important;
    }
    .movie-meta-value {
        font-size: 0.85rem !important;
        color: #F4EFEC !important;
        text-align: left !important;
        margin-bottom: 2px !important;
    }
    body .movie-page > section {
        margin-top: 32px !important;
        margin-bottom: 32px !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
    body .movie-page > section:first-child {
        margin-top: 0 !important;
    }
    body .movie-page > section:last-child {
        margin-bottom: 0 !important;
    }
}
